<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>单文件上传</title>
</head>

<body>
<%--上传--%>
<form method="post" action="/uploadFile" enctype="multipart/form-data">
    <input type="file" name="file"><br>
    <input type="submit" value="上传">
</form>
<br>

<%--下载--%>
<form method="get" action="/download">
    <input name="uuid">输入uuid<br>
    <input type="submit" value="下载">
</form><br>

<%--返回元数据--%>
<form method="get" action="/returnMyFile">
    <input name="uuid">输入uuid<br>
    <input type="submit" value="返回元数据">
</form>

</body>
</html>

